<eq name="readonly" value="true">
	<input disabled="disabled"  class="form-control input-date" type="text" name="udf_field_{$id}" id="udf_field_{$id}" value="{$val}" <notempty name="validate">check="{$validate}" msg="{$msg}"</notempty>  >
	<else/>
	<input class="form-control input-date" type="text" name="udf_field_{$id}" id="udf_field_{$id}" value="{$val}" <notempty name="validate">check="{$validate}" msg="{$msg}"</notempty>  >
</eq>